package com.frank.oj.service.entity.common;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.frank.model.entity.common.Announcement;
import com.frank.oj.model.vo.AnnouncementVO;

/**
 * @author frank
 * @Date 2024/1/25
 */
public interface AnnouncementEntityService extends IService<Announcement> {
    IPage<AnnouncementVO> getAnnouncementList(Integer limit, Integer currentPage, boolean notAdmin);

    IPage<AnnouncementVO> getContestAnnouncement(Long cid, boolean notAdmin, Integer limit, Integer currentPage);
}
